projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c97e74a
)
GCC4.6: Squash warnings in ahci.c
author
Marek Vasut
<
[email protected]
>
Fri, 21 Oct 2011 14:17:16 +0000
(14:17 +0000)
committer
Wolfgang Denk
<
[email protected]
>
Thu, 27 Oct 2011 21:54:04 +0000
(23:54 +0200)
ahci.c: In function 'ahci_port_start':
ahci.c:401: warning: format '%x' expects type 'unsigned int', but argument 2 has
type 'struct ahci_cmd_hdr *'
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Wolfgang Denk <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Cc: Mike Frysinger <
[email protected]
>
drivers/block/ahci.c
patch
|
blob
|
history
diff --git
a/drivers/block/ahci.c
b/drivers/block/ahci.c
index 64f52bb019f729f8829f21ae561923ab1514c33f..015b341d9e0d38345fd67c4ee0d24f6c65181b8e 100644
(file)
--- a/
drivers/block/ahci.c
+++ b/
drivers/block/ahci.c
@@
-398,7
+398,7
@@
static int ahci_port_start(u8 port)
* 32 bytes each in size
*/
pp->cmd_slot = (struct ahci_cmd_hdr *)mem;
- debug("cmd_slot =
0x%x
\n", pp->cmd_slot);
+ debug("cmd_slot =
%p
\n", pp->cmd_slot);
mem += (AHCI_CMD_SLOT_SZ + 224);
/*